<!DOCTYPE html>
<html>
      <head>
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width,initial-scale=1">
            <title>加载按钮</title>
            <link rel="stylesheet" href="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
            <script src="https://cdn.staticfile.net/jquery/3.2.1/jquery.min.js"></script>
            <script src="https://cdn.staticfile.net/popper.js/1.15.0/umd/popper.min.js"></script>
            <script src="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
      </head>
      <body>
            <div class="container">
                  <h2>加载按钮</h2>
                  <p>按钮添加正在加载按钮</p>

                  <button class="btn btn-primary">
                        <span class="spinner-border spinner-border-sm"></span>
                  </button>

                  <button class="btn btn-primary">
                        <span class="spinner-border spinner-border-sm"></span>
                        Loading
                  </button>

                  <button class="btn btn-primary" disabled>
                        <span class="spinner-grow spinner-grow-sm"></span>
                        Loading
                  </button>
            </div>
      </body>
</html>